$OpenBSD: patch-provider_client_ECNotifyMaster_cpp,v 1.9 2016/04/20 18:38:41 robert Exp $
--- provider/client/ECNotifyMaster.cpp.orig	Wed Apr 20 13:13:54 2016
+++ provider/client/ECNotifyMaster.cpp	Wed Apr 20 19:54:13 2016
@@ -370,7 +370,7 @@ void* ECNotifyMaster::NotifyWatch(void *pTmpNotifyMast
 		notificationArray *pNotifyArray = NULL;
 
 		hr = pNotifyMaster->m_lpTransport->HrGetNotify(&pNotifyArray);
-		if (hr == ZARAFA_W_CALL_KEEPALIVE) {
+		if (hr == (int)ZARAFA_W_CALL_KEEPALIVE) {
 			if (bReconnect) {
 				TRACE_NOTIFY(TRACE_WARNING, "NotifyWatch::Reconnection", "OK connection: %d", pNotifyMaster->m_ulConnection);
 				bReconnect = false;
